package com.example.glgk.mapper.indicatorAnalysis;

import com.example.glgk.VO.IndicatorDataEntityVO;
import com.example.glgk.dto.indicatorAnalysisDto.DepartmentDto;
import com.example.glgk.dto.indicatorAnalysisDto.IndicatorDataEntityDto;
import com.example.glgk.dto.indicatorAnalysisDto.MulIndicatorDataDto;
import com.example.glgk.entity.DepartmentIndicatorEntity;
import com.example.glgk.entity.IndicatorDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
@Mapper
public interface IndicatorAnalysisMapper {

    List<IndicatorDataEntityVO> queryIndicatorList();

    MulIndicatorDataDto selectById(@Param("id") String id);

    List<DepartmentIndicatorEntity> queryEscalationGroupByDay(IndicatorDataEntityDto indicatorDataEntityDto);

    List<DepartmentIndicatorEntity> queryEscalationGroupByDept(IndicatorDataEntityDto indicatorDataEntityDto);

    List<DepartmentIndicatorEntity> queryEscalationNew(IndicatorDataEntityDto indicatorDataEntityDto);

    List<String> selectReportTasks(@Param("times") List<String> times, @Param("dept") String dept,@Param("parentDepartmentId")String parentDepartmentId);

    List<DepartmentIndicatorEntity> queryIndexValueNew(IndicatorDataEntityDto indicatorDataEntityDto);

    List<DepartmentDto> getDepartments();
}
